Ext.define('AM.model.AddWorkModel', {
		  extend: 'Ext.data.Model',
		  alias : 'widget.addWorkModel',
		  fields:[
				    { name: 'id', type:'int'},
				    { name: 'state', type:'number'},
				    { name: 'name', type:'string'},
				    { name: 'content', type:'string'},
				    { name: 'endtime',  type:'date'},
				    { name: 'starttime', type:'date'},
				    { name: 'employee', type:'string',mapping:'employee.name'},
				    { name: 'department', type:'string',mapping:'department.name'},
				    { name: 'advice', type:'string'}
				 ]
 });
 	